package com.qingzhou.schedule.service.impl;

import com.mybatisflex.solon.service.impl.ServiceImpl;
import com.qingzhou.schedule.domain.SysJobLog;
import com.qingzhou.schedule.mapper.SysJobLogMapper;
import com.qingzhou.schedule.service.ISysJobLogService;
import org.noear.solon.annotation.Component;
import org.noear.solon.annotation.Inject;

/**
 * 定时任务调度日志 服务层实现
 * @author xm
 */
@Component
public class SysJobLogServiceImpl extends ServiceImpl<SysJobLogMapper, SysJobLog> implements ISysJobLogService {

    @Inject
    SysJobLogMapper sysJobLogMapper;

    /**
     * 清空定时任务调度日志
     */
    @Override
    public void clean() {
        sysJobLogMapper.clean();
    }

}
